#include<bits/stdc++.h>
using namespace std;
long long T,n;
const int N=1e6;
long long a[N];
int main(){
    freopen("color.in","r",stdin);
    freopen("color.out","w",stdout);
    scanf("%lld",&T);
    for(int i=1;i<=T;i++){
        scanf("%lld",&n);
        for(int j=1;j<=n;j++){
            scanf("%lld",&a[j]);
        }
    }
    cout<<1<<"\n"<<0<<"\n"<<8;
    return 0;
}
